package com.qzyh.esb.egsa.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzyh.esb.egsa.bean.vo.RoleVO;
import com.qzyh.esb.egsa.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qzyh.esb.egsa.utils.ResultObject;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author whq
 * @since 2023-03-16
 */
public interface IRoleService extends IService<Role> {

    IPage<Role> getList(IPage<Role> page, String roleName);

    ResultObject deleteById(String id);

    ResultObject saveRoleAndMenu(RoleVO vo);

    ResultObject<List<String>> getRoleAndMenu(String id);

    List<Role> queryByIds(String idsStr);
}
